*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
:root{
    --first-color:#441620;
    --second-color:#f3961c;
    --third-color:#fff;
    --normal-color:#000;
}
header{
    width: 100%;
    height:100%;
    min-height: 100vh;
    background: var(--first-color);
    position: relative;

}
.nav{
    width: 100%;
    margin: 0 0 20;
    padding: 15px 20px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--first-color);
    position: fixed;
    z-index: 2;
}
.nav h1{
    font-size: 30px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bolder;
    color:var(--third-color);
    margin-left: 20px;

}
.nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}
.nav-links a{
    text-decoration: none;
    font-size: 15px;
    padding: 2px 5px;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: monospace;
    color: var(--third-color);
    margin:0 15px ;
    transition: 0.5s;
}
.nav-links a:hover{
    color: var(--second-color);
}
svg{
    color: var(--second-color);
    font-size: 30px;
    display: none;
}
.hero{
    width: 90%;
    margin: 0 auto 0;
    padding-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero .infor{
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    margin-top: 20px;
}
.infor h3{
    font-size: 24px;
    font-family:monospace;
    font-weight: bold;
    text-transform: uppercase;
    color:#f3961c;

}
.infor h2{
    font-size: 30px;
    color: white;
    text-transform: uppercase;
    font-weight: bolder;
    font-family: monospace;
    line-height: 35px;
    margin-bottom: 30px;
}
.infor p{
    color: white;
    font-size: 18px;
    font-weight: bolder;
    font-family: monospace;
    word-spacing: -3px;
    margin-bottom: 40px;
}
.buttons{
    display: flex;
    align-items: center;
    gap: 30px;
}
.buttons .btn{
    width: 120px;
    padding: 8px 2px;
    border-radius: 12px;
    border: none;
    text-transform: capitalize;
    font-weight: bolder;
}
.buttons .btn:nth-child(1){
    background: #f3961c;
    color: black;
    transition: 0.5s;
}
.buttons .btn:nth-child(1):hover{
    background: transparent;
    color: white;
    border: 1.5px solid white;
}
.buttons .btn:nth-child(2){
    background: transparent;
    color: white;
    border: 1.5px solid white;
    transition: 0.5s;
}
.buttons .btn:nth-child(2):hover{
    background: #f3961c;
    color: black;   
    border: none;
}

img{
    width: 360px;
    height: 390px;
    padding: 0px 0 0 0;
    margin: 50px 20px ;
    border-radius:  50% 50% 45% 52% / 37% 50% 45% 60%;
    border: none;
    animation: romble 5s ease-in infinite;
}
@keyframes romble{
50%{
    border-radius: 50% 50% 53% 45% / 50% 39% 80% 47%;
}
}

/*----------------- media query-----------------------*/

@media(max-width:700px){
    .hero{
        width: 90%;
        margin: 0 auto 0;
        padding-top: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column-reverse;
    }
    .hero .infor{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 15px;
    }
    .infor h3{
        font-size: 25px;
        font-family:monospace;
        font-weight: bold;
        text-transform: uppercase;
        color:#f3961c;
        margin-bottom: 15px;
    
    }
    .infor h2{
        font-size: 20px;
        text-align: center;
        color: white;
        text-transform: uppercase;
        font-weight: bolder;
        font-family: monospace;
        line-height: 20px;
        margin-bottom: 25px;
    }
    .infor p{
        color: white;
        font-size: 15px;
        font-weight: bolder;
        font-family: monospace;
        margin-bottom: 25px;
        text-align: center;
    
    }
    .buttons{
        display: flex;
        align-items: center;
        gap: 50px;
        margin-bottom: 20px;
    }
    img{
        width: 290px;
        height: 290px;
        margin: 50px auto;
      
    }
    .nav-links{
        position: absolute;
        background: white;
        top: 0;
        left: -300px;
        width: 250px;
        height: 99vh;
        border-bottom-right-radius: 50px;
        display: flex;
        justify-content: flex-start;
        align-items: top;
        flex-direction: column;
        transition: 0.5s ease-in;
    }
    .nav-links svg{
        font-weight: bolder;
       margin:10px;
    
    }
    .nav-links svg:active{
        color: var(--first-color);
    }
    .nav-links .toggle{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 20px;
    }
    .nav-links .toggle a{
        color: var(--normal-color);
        margin: 20px auto;
        padding: 5px ;
        position: relative;
    }
    .nav-links .toggle a:active{
        color: var(--second-color);
    }
    .nav-links .toggle a::after{
        position: absolute;
        content: "";
        bottom: 0;
        left: 0;
        width:0;
        height: 3px;
        background: var(--second-color);
        display: block;
        border-radius: 10px;
        transition: 0.5s;
    }
    .nav-links .toggle a:hover::after{
        width: 100%;
    }
   svg{
        display: block;
    }
    svg:active{
        color:var(--third-color)
    }
    .contact .form{
        width: 60%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        border:none;
        border-radius: 10px;
        margin: -20px auto 20px;
        position: relative;
        width: 500px;
        height: 300px;
    }
    .form .input{
        width: 90%;
        height: 40px;
        border: none;
        border-radius: 5px;
        box-shadow: 0 0 4px var(--first-color);
        margin:10px auto;
        padding: 6px;
    
    }
    .footer h4{
        font-weight: bolder;
        font-size: 18px;
        margin-left: 18px;
    }
    .footer p{
        padding: 0;
        font-size: 12px;
        text-transform: capitalize;
        font-family: monospace;
        margin-right: 20px;
    }
    .icons{
        display:  flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        margin-right: 20px;
    }

}
/*----------------- skills start-----------------------*/

.skills{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 100px 0 60px;
}
.skills h1{
    color:var(--normal-color);
    font-size: 25px;
    font-weight: bold;
    font-family: monospace;
    text-transform: uppercase;
    margin: 10px auto;
}
.line{
    width:100px;
    height:4px;
    background: #f3961c;
    border: none;
    border-radius: 10px;
    margin: 5px auto 50px;
}
.row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: unset;
    flex-grow: unset;
    gap: 10px;
 
}
.col{
    flex-basis: 320px;
    padding: 20px 10px;
    border: none;
    border-radius: 10px;
    margin: 10px auto;
    background: rgba(211, 199, 199, 0.274);
    transition: 0.5s;
}
.col:hover{
    box-shadow: 0 0 8px var(--normal-color);
}
.col h2{
    color:var(--first-color);
    font-size: 22px;
    font-weight: bolder;
    font-family: monospace;
    text-transform: uppercase;
    margin:5px auto 15px
}
.col h3{
    font-size: 18px;
    color: var(--second-color);
    font-weight: bold;
    text-transform: capitalize;
    font-family: monospace;
    margin-bottom: 30px;
}
.col p{
    font-size: 13px;
    font-family: monospace;
    padding: 2px;
    margin-bottom: 30px;
}

/*----------------- challenges-----------------------*/

.challenges{
    width: 80%;
    margin: 100px auto 50px;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 50px;
}
.challenges h1{
    color:var(--normal-color);
    font-size: 25px;
    font-weight: bold;
    font-family: monospace;
    text-transform: uppercase;
    margin: 50px auto 10px;
}
.challenges p{
    padding: 14px;
    font-size: 18px;
    font-family: monospace;
    line-height: 30px;
    margin-bottom: 50px ;
    color: var(--first-color);
}


/*----------------- achievement-----------------------*/

.achievement{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 100px 0;
}
.achievement h1{
    color:var(--normal-color);
    font-size: 25px;
    font-weight: bold;
    font-family: monospace;
    text-transform: uppercase;
    margin: 10px auto;
}
.line{
    width:100px;
    height:4px;
    background: #f3961c;
    border: none;
    border-radius: 10px;
    margin: 5px auto 50px;
}
.row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: unset;
    flex-grow: unset;
    gap: 10px;
 
}
.achieve-col{
    flex-basis: 320px;
    padding: 20px 10px;
    border: none;
    border-radius: 10px;
    margin: 10px auto;
    background: rgba(211, 199, 199, 0.274);
    transition: 0.5s;
}
.achieve-col:hover{
    box-shadow: 0 0 8px var(--normal-color);
}
.achieve-col h3{
    color:var(--first-color);
    font-size: 22px;
    font-weight: bolder;
    font-family: monospace;
    text-transform: uppercase;
    margin:5px auto 15px
}
.achieve-col p{
    font-size: 18px;
    color: var(--second-color);
    font-weight: bold;
    text-transform: capitalize;
    font-family: monospace;
    margin-bottom: 30px;
}
.achieve-col ul li{
    padding: 0;
    text-align: left;
    font-size: 15px;
    margin-left:15px;
    margin-bottom: 20px;
  
}


/*----------------- contact-----------------------*/

.contact{
    width: 70%;
    margin: 0 auto 100px;
    text-align: center;
}
.contact h1{
    color:var(--normal-color);
    font-size: 25px;
    font-weight: bold;
    font-family: monospace;
    text-transform: uppercase;
    margin: 10px auto;
}
.contact .row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
 
}
.contact-col{
    flex-basis: 300px;
    text-align: left;
    padding: 10px;
    margin-bottom:130px
}
.contact-col li{
    list-style: none;
    font-family: monospace;
    font-weight: bolder;
    font-size: 15px;
    margin: 15px 0;
}
.contact .form{
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border:none;
    border-radius: 10px;
    position: relative;
    width: 500px;
    height: 300px;
}
.form .input{
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 4px var(--first-color);
    margin:10px auto;
    padding: 6px;

}
.form .input:focus{
    border: none;
    outline: none;
}
.form .input::placeholder{
    color:var(--first-color)
}
.form .input:nth-child(3){
    padding-top: 20px;
    padding-bottom: 150px;
}
.form .btn{
    width: 100px;
    padding: 6px;
    color: var(--third-color);
    font-size: 15px;
    font-family: monospace;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border: none;
    border-radius: 5px;
    background: var(--first-color);
    margin-bottom: 70px;
}


/*------------------- footer---------------------*/

.footer{
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #441620;
    color: white;
    font-family: monospace;
}
.footer h4{
    font-weight: bolder;
    font-size: 20px;
    margin-left: 20px;
}
.footer p{
    padding: 0;
    font-size: 15px;
    text-transform: capitalize;
    font-family: monospace;
    margin-right: 20px;
}
.icons{
    display:  flex;
    justify-content: center;
    align-items: center;
}
.icons svg{
    display: block;
    color: var(--third-color);
    margin: 0 10px;
    transition: 0.5s;
}
.icons svg:hover{
color:#f3961c
}